package day10.Enum3;

/**
 * @Auther:小陈的Java
 * 定义构造器有参数的枚举
 */
public enum Grade {
    A("85-100"),B("75-84"),C("60-74");
    private String score;
    private Grade(String score){
        this.score = score;
    }
    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }
}
